home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Loadstar 38
/
038.d81
/
compress menu
(
.txt
)
< prev
next >
Wrap
Commodore BASIC
|
2022-08-26
|
3KB
|
43 lines
10 poke53280,.:poke53281,.
15 gosub 61000
20 print"[147][158][213][192][192][192][192][192][192][192][192][192][192][192][192][192][192][192][192][192][192][192][192][192][192][192][192][192][192][192][192][192][192][192][192][192][192][192][192][192][192][201]";
30 fora=1to23:print"[221]"spc(38)"[221]";:next
40 print"[202][192][192][192][192][192][192][192][192][192][192][192][192][192][192][192][192][192][192][192][192][192][192][192][192][192][192][192][192][192][192][192][192][192][192][192][192][192][203][157][148][192]"
50 fora=217to242:pokea,peek(a)or128:next
60 print" compressor/decompressor menu"
70 print" c[154]ompress a picture"
80 print" d[154]ecompress a picture"
90 print" r[154]elocate one of the routines"
95 print" q[154]uit"
100 print" press c[154], d[154], r[154], or q[154]."
110 a=peek(203):ifa<>20anda<>18anda<>17anda<>62then110
120 ifa=62thengosub60000:goto100
130 ifa=20thenf$="compressor"
140 ifa=18thenf$="decompressor"
150 ifa=17thenf$="relocater"
200 ta=20-((len(f$)+11)/2)
210 print"[147]"tab(ta)"loading "f$"..."
220 print"[144]load"chr$(34)f$chr$(34)",8"
230 poke198,.:print"run":poke631,13:poke632,13:poke198,2:end
60000 print"[145] [154]are you sure you want to quit? (y[154]/n[154])"
60010 a=peek(203):ifa<>25anda<>39then60010
60020 ifa=39thenprint"[145] [145]":return
60030 open15,8,15,"r0:hello connect=hello connect":input#15,er:close15
60040 ifer<>63thenpoke198,.:print"[147]":end
60050 load"hello connect",8
61000 printchr$(142)"[147]"
61001 a$=" - l o a d s t a r -":gosub 62000
61002 print"[152]":a$=" presents":gosub 62000
61005 forx=1to500:next
61010 print" [176][192][192][192][192][192][174]
61015 [153]" (NULL)andandandandandwait(NULL) "[199](34)"c-64 compressor"[199](34)
61020 [153]" (NULL) (NULL). (NULL)
61025 print" [221] [221] [221] [155]by scott m. petty
61030 [153]" /tantantantantanexp
61035 forx=1to2000:next:return
61999 end
62000 fortb=0tolen(a$)
62005 printright$(a$,tb);"[145]"
62010 next
62015 return